Manages the environments available. More...
Public Member Functions | |
Environment * | createOrRetrieve (const char *name) |
Manages the environments available.
The manager always owns the memory allocated from calling it. External code should never free memory returned by it.
Environment* nkScripts::EnvironmentManager::createOrRetrieve | ( | const char * | name | ) |
Creates if unavailable, or retrieves if available, the environment attached to a name.
name | The name of the environment the create or retrieve. |